package com.swotxu.firstribbonclient.customping;

import com.netflix.loadbalancer.IPing;
import com.netflix.loadbalancer.Server;

/**
 * @Date: 2020/9/19 18:38
 * @Author: swotXu
 */
public class MyPing implements IPing {
    public boolean isAlive(Server server) {
        System.out.printf("这是自定义Ping实现类：%s \n", server.getHostPort());
        return true;
    }
}
